package org.example.myleet.p645;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(Assert.isPass(new int[]{1,2}, solution.findErrorNums(new int[]{1,1})));
        Assert.isTrue(Assert.isPass(new int[]{2,1}, solution.findErrorNums(new int[]{2,2})));
        Assert.isTrue(Assert.isPass(new int[]{2,3}, solution.findErrorNums(new int[]{4,2,1,2})));
        Assert.isTrue(Assert.isPass(new int[]{3,1}, solution.findErrorNums(new int[]{3,2,3,4,6,5})));
        Assert.isTrue(Assert.isPass(new int[]{2,10}, solution.findErrorNums(new int[]{1,5,3,2,2,7,6,4,8,9})));
    }
}
